﻿using System;
using System.Collections.Generic;
using System.Html.DOM;
using jQueryLib;
using AngularJS;

namespace Sample
{
    class DirectiveModule
    {
        public void Main()
        {
            new Action(() =>
            {
                var module = Angular.Module("hpe.directive", new string[] { });

                module.Directive("hpeButton", () =>
                {
                    return new DirectiveDefination()
                    {
                        Restrict = "AE",
                        Template = "<div></div>",
                        Link = new Action<Scope, JQueryInstance, Dictionary<string, string>>((_scope_, element, attrs) =>
                        {
                        })
                    };
                });

                module.Directive("simple", () =>
                {
                    return new Action<Scope, JQueryInstance, Dictionary<string, string>>((_scope_, element, attrs) =>
                    {
                    });
                });

            })();
        }
    }
}
